package com.shrct.businessprocess.customerservice;

import com.shrct.businessprocess.customerservice.RCProjectMock;
import com.shrct.businessprocess.customerservice.RCProjectReference;
import com.shrct.businessprocess.customerservice.RCServiceContractDelegate;
import com.shrct.businessprocess.organization.RCEnterprise;
import com.shrct.businessprocess.project.RCCustomerContract;
import edu.fudan.mylang.pf.IDAOService;
import org.eclipse.xtext.xbase.lib.Procedures.Procedure1;

public interface RCServiceContractDelegateDAO extends IDAOService<RCServiceContractDelegate> {
  public abstract RCProjectMock createAsMockProject(final String projectId, final String contractId, final RCEnterprise customer, final Procedure1<? super RCProjectMock> preCreate);
  
  public abstract void deleteProjectReference(final RCProjectReference projectReference);
  
  public abstract RCProjectReference createAsProjectReference(final RCCustomerContract customerContract, final Procedure1<? super RCProjectReference> preCreate);
}
